<!doctype html>
<html ng-app>
    <head>
        <script src="../angular.js"></script>
    </head>
    <body>
        Your name: <input type="text" ng-model="greeting.text" placeholder="World">
        <hr>
        Hello {{greeting.text || 'World'}}!
    </body>
</html>